<div class="col-lg-2 " style="">  
		 <div class="row-fluid">  
			<?php $user = $this->session->userdata('username'); ?>
			<?php if($user != NULL):?>
		   <?php if($this->session->userdata('peran')!= 0) {?>
					   <div class="col-lg-12">
							<ul class="nav nav-list">
							  <li class="nav-header" style="margin-top:3px"><?php echo $user; ?></li>
								<li><a href="<?php if($this->session->userdata('peran') != 1 ) {
								echo base_url();?>index.php/akun/profil" <?php } else { echo base_url();?>index.php/admin" <?php } ?>class="glyphicon glyphicon-user">  Profilku</a></li>
								<?php if($this->session->userdata('peran') != 1 ){ ?>
								<?php if($this->session->userdata('status') == 1) { ?>
									<li><a href="<?php echo base_url()?>index.php/video/" class="glyphicon glyphicon-upload">  Unggah</a></li> 
									<li><a href="<?php echo base_url()?>index.php/video/videoku" class="glyphicon glyphicon-film"  data-toggle="collapse" data-target=".hisCollapse" style="">  Videoku</a></li>
									<?php } else { ?>
										<li class="disabled"><a class="glyphicon glyphicon-upload">  Unggah</a></li> 
										<li class="disabled"><a class="glyphicon glyphicon-film">  Videoku</a></li> 
									<?php } ?>
								<?php } ?>
							</ul>
							<br>
						</div>  
						<?php } ?>
			<?php endif;?>
						
					<div class="col-lg-12" style="margin-top:10px;"> 
						<ul class="nav nav-list">
						  <li class="nav-header" data-toggle="collapse" data-target=".navCollapse" style="">Kategori <span class="glyphicon glyphicon-align-justify pull-right"></span></li>
						   <ul class="nav nav-list collapse in navCollapse">
								<?php foreach($kategori as $row) {?>
									<li><a href="<?php echo base_url();?>index.php/video/cari_video_sesuai_kategori/<?php echo $row->id_kategori;?>"><?php echo $row->nama_kategori;?></a></li>  
								<?php } ?>
							</ul>
						</ul>
					</div>    
					
					<?php if(count($histori_video) > 0 ) {?>
					<div class="col-lg-12" style="margin-top:20px;"> 
					<ul class="nav nav-list">
					  <li class="nav-header" data-toggle="collapse" data-target=".hisCollapse" style="">Histori Video<span class="glyphicon glyphicon-align-justify pull-right"></span></li>
					   <ul class="nav nav-list collapse in hisCollapse">
							<?php foreach($histori_video as $row) {?>
								<li><a href="<?php echo base_url();?>index.php/video/lihat_video/<?php echo $row->id_video;?>"><?php echo $row->judul_video;?></a></li>  
							<?php } ?>
						</ul>
						</ul>
					</div>
					<?php } ?>
					
					
				 </div>  
			 
			</div>  
			<br>
			   	 